﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="FriendList.ascx.cs" Inherits="FrontEnd_Blocks_FriendList" %>

<!-- 
  -- FRIENDLIST
  -- This module shows user's short friend list.
  -->
  
<div class="module" id="friend-list">
    <div class="edit-toolbar">
        <div class="edit-button"></div>
        <div class="delete-button"></div>
    </div>
    <div class="title">Bạn bè</div>
    <div class="info">
    <%
    for (int i = 0; i < friends.Count; i++)
    {
        %>
        <div class="person">
            <img src="<%=ResolveUrl(friends[i].Avatar)%>" alt="avatar"/>
            <div class="name"><%=friends[i].Name%></div>
            <div class="detail"></div>
            <span class="link"><%=ResolveUrl(Util.ServerPath.FrontEnd)%>Default.aspx?ID=<%=friends[i].Info.ID%></span>
        </div>
        <%
    }
    %>
    </div>
</div>